package org.ivwsqii.decorator;

/**
 * 加培根
 */
public class AddBacon extends Decorator{
    public AddBacon(JianBing jianBing) {
        super(jianBing);
    }

    @Override
    public String description() {
        return super.description()+"加培根";
    }

    @Override
    public double price() {
        return super.price()+2.0;
    }
}
